package com.cangxuan.backend.dao;

import com.cangxuan.backend.entity.Banner;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * Banner表
 */
@Mapper
public interface IBannerDao {

    @Select("select src from banner limit 0,3")
    List<String> list();

    // @Update("update banner set src=#{src} where id = #{id}")
    // int update(Banner banner);
    //
    // @Delete("delete from banner where id = #{id}")
    // int deleteById(@Param("id") int id);
}
